package com.wang.learn.domain.resource.model;

import com.wang.learn.common.model.ICodeEnum;

/**
 * @author : wcz
 * @version V1.0
 * @Description: 资源类型
 */
public enum ResourceType implements ICodeEnum {
    MENU(1, "菜单"),
    OPERATE(2, "操作"),
    OBJECT(3, "对象");
    private int value;
    private String label;

    ResourceType(int value, String label) {
        this.value = value;
        this.label = label;
    }

    @Override
    public int value() {
        return value;
    }

    @Override
    public String label() {
        return label;
    }
}
